import 'package:app/shared/constants/common.dart';
import 'package:flutter/material.dart';

class TitleCom extends StatelessWidget {
  const TitleCom({Key? key}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return Padding(
      padding: EdgeInsets.symmetric(vertical: sDefaultMarginPadding * 1.5),
      child: Row(
        mainAxisAlignment: MainAxisAlignment.spaceBetween,
        children: [
          Text(
            "精彩瞬间",
            style: TextStyle(fontWeight: FontWeight.bold, fontSize: 16),
          ),
          TextButton(
              onPressed: () {},
              child: Row(
                children: [
                  Text(
                    "更多",
                    style: TextStyle(color: Colors.black),
                  ),
                  Icon(
                    Icons.chevron_right_outlined,
                    color: Colors.black,
                  )
                ],
              ))
        ],
      ),
    );
  }
}
